<div style="width: 500px;">
	<form id="ajax_form" onsubmit="return CompanyVideo.processVideo();">
		<table class="table">
			<tbody>
				<?php if (!is_numeric($id_video)) { ?>
				<tr>
					<td class="right rlabel"><label for="link"><?php echo $this->lang->line('video_youtubelink'); ?>:</label></td>
					<td><input type="text" class="inputdiv" value="<?php echo $link; ?>" id="link" name="link" /></td>
				</tr>
				<?php } ?>
				<tr>
					<td class="right rlabel" width="30%"><label for="title"><?php echo $this->lang->line('video_title'); ?>:</label></td>
					<td><input type="text" class="inputdiv" value="<?php echo $title; ?>" id="title" name="title" /></td>
				</tr>
				<tr>
					<td class="right rlabel"><label for="description"><?php echo $this->lang->line('video_description'); ?>:</label></td>
					<td><textarea class="inputdiv" rows="3" value="" id="description" name="description"><?php echo $description; ?></textarea></td>
				</tr>
				<tr>
					<td colspan="2" class="center">
						<label for="btnEnter"><input type="submit" id="btnEnter" class="submit" value="<?php echo $this->lang->line('video_save'); ?>" /></label>
					</td>
				</tr>
			</tbody>
		</table>
		<div id="result_ajax"></div>
		<input type="hidden" value="<?php echo $id_video; ?>" name="idvideo" id="idvideo" />
		<input type="hidden" value="<?php echo $type; ?>" name="type" id="type" />
	</form>
</div>